Skip to content

Add tests to ensure remote client auth headers function correctly#12962

Merged
michel-laterman merged 3 commits intoelastic:mainfrom
michel-laterman:enhancement/agent-download-auth
Mar 2, 2026
Merged

Add tests to ensure remote client auth headers function correctly#12962
michel-laterman merged 3 commits intoelastic:mainfrom
michel-laterman:enhancement/agent-download-auth

Conversation

@michel-laterman
Copy link
Copy Markdown
Contributor

@michel-laterman michel-laterman commented Feb 26, 2026

What does this PR do?

Update elastic-agent-libs to a version that includes httpcommon auth header support.
Add tests to ensure remote client auth headers function correctly.

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

N/A

@michel-laterman michel-laterman added enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Feb 26, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Feb 26, 2026

This pull request does not have a backport label. Could you fix it @michel-laterman? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label that automatically backports to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@michel-laterman michel-laterman force-pushed the enhancement/agent-download-auth branch from 5f5b851 to 1c8c879 Compare February 26, 2026 01:02
@michel-laterman michel-laterman force-pushed the enhancement/agent-download-auth branch from 1c8c879 to e05dbc4 Compare February 27, 2026 21:45
@michel-laterman michel-laterman marked this pull request as ready for review February 27, 2026 22:00
@michel-laterman michel-laterman requested a review from a team as a code owner February 27, 2026 22:00
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@elasticmachine
Copy link
Copy Markdown
Contributor

Comment thread internal/pkg/remote/client_test.go
Comment thread internal/pkg/remote/client_test.go
@michel-laterman michel-laterman enabled auto-merge (squash) March 2, 2026 18:56
@michel-laterman michel-laterman merged commit ce7f44b into elastic:main Mar 2, 2026
23 checks passed
@michel-laterman michel-laterman deleted the enhancement/agent-download-auth branch March 2, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants